.class public Lcom/estrongs/android/ui/floatingwindows/a;
.super Les/gl;
.source "FloatViewConfigCms.java"


# static fields
.field private static e:Lcom/estrongs/android/ui/floatingwindows/a;


# instance fields
.field private d:Lcom/estrongs/android/ui/floatingwindows/d;


# direct methods
.method private constructor <init>()V
    .locals 2

    .line 1
    sget-object v0, Les/fl;->o:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Les/gl;-><init>(Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Z)V
    .locals 2

    .line 19
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "key_new_file_notify_cms_get_success"

    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Z)V

    return-void
.end method

.method public static g()Lcom/estrongs/android/ui/floatingwindows/a;
    .locals 2

    .line 1
    sget-object v0, Lcom/estrongs/android/ui/floatingwindows/a;->e:Lcom/estrongs/android/ui/floatingwindows/a;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/estrongs/android/ui/floatingwindows/a;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/estrongs/android/ui/floatingwindows/a;->e:Lcom/estrongs/android/ui/floatingwindows/a;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/estrongs/android/ui/floatingwindows/a;

    invoke-direct {v1}, Lcom/estrongs/android/ui/floatingwindows/a;-><init>()V

    sput-object v1, Lcom/estrongs/android/ui/floatingwindows/a;->e:Lcom/estrongs/android/ui/floatingwindows/a;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/estrongs/android/ui/floatingwindows/a;->e:Lcom/estrongs/android/ui/floatingwindows/a;

    return-object v0
.end method


# virtual methods
.method protected declared-synchronized a(Ljava/lang/String;IZ)Les/ll;
    .locals 1

    monitor-enter p0

    .line 1
    :try_start_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    const/4 p3, 0x0

    if-eqz p2, :cond_0

    .line 2
    monitor-exit p0

    return-object p3

    .line 3
    :cond_0
    :try_start_1
    new-instance p2, Les/kl;

    new-instance v0, Lcom/estrongs/android/ui/floatingwindows/d;

    invoke-direct {v0}, Lcom/estrongs/android/ui/floatingwindows/d;-><init>()V

    invoke-direct {p2, v0}, Les/kl;-><init>(Les/ll;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 4
    :try_start_2
    invoke-virtual {p2, p1}, Les/kl;->a(Ljava/lang/String;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 5
    :try_start_3
    invoke-virtual {p0, p1}, Les/gl;->a(Ljava/lang/Exception;)V

    .line 6
    invoke-virtual {p2}, Les/kl;->a()V

    .line 7
    :goto_0
    iget-boolean p1, p2, Les/kl;->b:Z
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    if-nez p1, :cond_1

    .line 8
    monitor-exit p0

    return-object p3

    .line 9
    :cond_1
    :try_start_4
    iget-object p1, p2, Les/kl;->c:Les/ll;

    check-cast p1, Lcom/estrongs/android/ui/floatingwindows/d;

    iput-object p1, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    if-nez p1, :cond_2

    .line 10
    monitor-exit p0

    return-object p3

    :cond_2
    :try_start_5
    const-string p1, "FloatViewConfigCms"

    .line 11
    new-instance p3, Ljava/lang/StringBuilder;

    invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2}, Les/kl;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p2, ", style = "

    invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p2, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    invoke-virtual {p2}, Lcom/estrongs/android/ui/floatingwindows/d;->b()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 12
    invoke-static {}, Lcom/estrongs/android/ui/floatingwindows/c;->e()Lcom/estrongs/android/ui/floatingwindows/c;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    invoke-virtual {p2}, Lcom/estrongs/android/ui/floatingwindows/d;->b()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/floatingwindows/c;->a(Ljava/lang/String;)V

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/floatingwindows/d;->b()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_3

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    const-string p2, "float_view_style"

    iget-object p3, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    .line 15
    invoke-virtual {p3}, Lcom/estrongs/android/ui/floatingwindows/d;->b()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p1, p2, p3}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    monitor-exit p0

    return-object p1

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public a()V
    .locals 1

    .line 17
    invoke-super {p0}, Les/gl;->a()V

    const/4 v0, 0x0

    .line 18
    iput-object v0, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    return-void
.end method

.method protected c()Ljava/lang/String;
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/floatingwindows/a;->a(Z)V

    const/4 v0, 0x0

    return-object v0
.end method

.method protected d()Les/ll;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/floatingwindows/a;->d:Lcom/estrongs/android/ui/floatingwindows/d;

    return-object v0
.end method
